<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Base\VideoController as BaseVideoController;

class VideoController extends BaseVideoController
{
    public function index(Request $request)
    {
        $result = parent::index($request);

        return response()->json($result);
    }

    public function indexByChannelId(Request $request,int $channel_id)
    {
        $result = parent::indexByChannelId($request,$channel_id);

        return response()->json($result);
    }

    public function show(int $id)
    {
        $result = parent::show($id);

        return response()->json($result);
    }
}
